package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.pojo.Reservation;

import java.time.LocalDateTime;

public interface ReservationService extends IService <Reservation> {
    Integer getCancelledCount(Long userId, LocalDateTime startTime, LocalDateTime endTime);


    Integer getReservationCountByTime(String startTime, String endTime);

    boolean saves(Reservation reservation);

}